package org.sxm.cloud.service;

import org.sxm.cloud.dto.auth.TokenDTO;
import org.sxm.cloud.entity.order.UserEntity;

/**
 * @Description
 * @Author xmSheng
 * @Date 2024/3/5
 */
public interface IAuthService{

    /**
     * 用户登录接口
     * @param account
     * @param password
     * @return
     */
    TokenDTO login(String account, String password);


    /**
     * 用户TOKEN校验
     * @param token
     * @return
     */
    UserEntity verifyToken(String token);
}
